import json

from config import project_pach

def read_json_file(file_name):
    with open(file_name ,"r" ,encoding="utf8") as f:
        json_data = json.load(f)
        data_list = []

        for dict_data in json_data:
            val = dict_data.values()
            tmp = tuple(val)
            data_list.append(tmp)

        return data_list
if __name__ == '__main__':
   filename = project_pach + "/data/ihrmAddData.json"
   res = read_json_file(filename)
   print(res)
